﻿using System.Web.Script.Serialization;
using System.Collections.Generic;
using System;
using System.Collections.ObjectModel;

namespace Db7.HttpHandlers
{
    public class PropBinderSerializer : JavaScriptConverter
    {
        public override object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer)
        {
            return null;
        }

        public override IDictionary<string, object> Serialize(object obj, JavaScriptSerializer serializer)
        {
            return null;
        }

        public override IEnumerable<Type> SupportedTypes
        {
            get {
                return new ReadOnlyCollection<Type>(new List<Type>(new Type[] { 
                    //typeof(StringBinder)
                    typeof(IgnoreJavascriptSerialization)
                })); 
            }
        }
    }
}
